package api.cie.rss.common;

import java.io.Serializable;
import java.util.Collection;

@SuppressWarnings("serial")
public class Category implements Serializable {
	
	public enum Categories {
		Sport,
		News,
		Music,
		Images,
		Culture,
		Economie
	}
	
	private int id; 
	
	private String title; 
	
	private Collection<RSS> rssFeeds;
	
	public boolean ischecked = false;

	public Category() {
	}

	public Category(int id, String title, Collection<RSS> rssFeeds) {
		super();
		this.id = id;
		this.title = title;
		this.rssFeeds = rssFeeds;
	}

	public Category(int id, String title) {
		super();
		this.id = id;
		this.title = title;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Collection<RSS> getRssFeeds() {
		return rssFeeds;
	}

	public void setRssFeeds(Collection<RSS> rssFeeds) {
		this.rssFeeds = rssFeeds;
	} 
	
}
